﻿using BPMS.Service;
using DotNet.Kernel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.SessionState;

namespace BPMS.WCFHost
{
    public class Global : System.Web.HttpApplication
    {
        protected void Application_Start(object sender, EventArgs e)
        {
            //设置当前数据库类型
            DataFactory.DbType = (SqlSourceType)Enum.Parse(typeof(SqlSourceType), ConfigHelper.GetValue("ComponentDbType"), true);
        }
    }
}